#include "CameraTest.h"
using namespace std;

CameraTest::CameraTest()
{
    //ctor
}

CameraTest::~CameraTest()
{
    //dtor
}

void CameraTest::execute(){
    Camera* cam1 = Camera::instance();
    Camera* cam2 = Camera::instance();

    if(cam1==cam2) cout<<endl<<"Camera is a singleton";
    else cout<<endl<<"addr1: "<<&cam1<<" addr2:"<<&cam2<<" Camera is not a singleton";
}
